//package com.hsq.ndmall.order.feign;
//
//import com.hsq.ndmall.common.utils.R;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.PutMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//
///**
// * @Description: 用一句话描述
// * @Auther: 新梦想*陈超
// * @Date: 2020-11-18 19:07
// */
//@FeignClient(value = "product-service")
//public interface ProductFeignClient {
//
//    @RequestMapping("/product/goodsproduct/info/{id}")
//    public R findById(@PathVariable("id") Integer productId) ;
//
//    @PutMapping("/product/stockreleaselog/lock_stock")
//    R lockStock(@RequestParam("orderId") Integer orderId, @RequestParam("productId") Integer productId, @RequestParam("number") Short number);
//
//    @PutMapping("/product/stockreleaselog/release_stock")
//    R releaseStock(@RequestParam("orderId") Integer orderId, @RequestParam("productId") Integer productId, @RequestParam("number") Short number);
//
//}
